package com.ruoyi.db.domain.web;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 购物车详情对象 mp_client_sub_cart
 * 
 * @author ruoyi
 * @date 2022-08-02
 */
@ApiModel(value = "MpClientSubCart",description = "购物车详情对象 mp_client_sub_cart")
public class MpClientSubCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购物车详情ID */
    private Long subCartId;

    /** 产品ID */
    @ApiModelProperty(value="产品ID",name="MpClientSubCart$proId")
    @Excel(name = "产品ID")
    private Long proId;

    /** 产品数量 */
    @ApiModelProperty(value="产品数量",name="MpClientSubCart$proCount")
    @Excel(name = "产品数量")
    private Long proCount;

    /** 购物车ID */
    @ApiModelProperty(value="购物车ID",name="MpClientSubCart$cartId")
    @Excel(name = "购物车ID")
    private Long cartId;

    private String proName;

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getMasterImg() {
        return masterImg;
    }

    public void setMasterImg(String masterImg) {
        this.masterImg = masterImg;
    }

    public BigDecimal getGoldBeanPrice() {
        return goldBeanPrice;
    }

    public void setGoldBeanPrice(BigDecimal goldBeanPrice) {
        this.goldBeanPrice = goldBeanPrice;
    }

    public BigDecimal getSilverBeanPrice() {
        return silverBeanPrice;
    }

    public void setSilverBeanPrice(BigDecimal silverBeanPrice) {
        this.silverBeanPrice = silverBeanPrice;
    }

    private String masterImg;
    private BigDecimal goldBeanPrice;
    private BigDecimal silverBeanPrice;

    public void setSubCartId(Long subCartId) 
    {
        this.subCartId = subCartId;
    }

    public Long getSubCartId() 
    {
        return subCartId;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setProCount(Long proCount) 
    {
        this.proCount = proCount;
    }

    public Long getProCount() 
    {
        return proCount;
    }
    public void setCartId(Long cartId) 
    {
        this.cartId = cartId;
    }

    public Long getCartId() 
    {
        return cartId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subCartId", getSubCartId())
            .append("proId", getProId())
            .append("proCount", getProCount())
            .append("cartId", getCartId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
